package com.kfm.base.oop2.ch;

import com.kfm.base.oop2.GirlFriend;

public class Test {

    public static void main(String[] args) {
        GirlFriend gf = new GirlFriend();

//        gf.name = "name";
//        gf.height = 150;
//        gf.weight = 50;
//        gf.age = 1;
    }

    public void a(){
        // 存在继承关系，访问的是父类中声明的字段
//        height = 1;
    }
}
